package ascii;

import java.awt.Color;

/**
 * @author Guan-Zhong Huang
 */
public class AsciiArt {

    public static Color[] colors;
    public static AsciiChar[][] chars;

    static {
        colors = new Color[]{
                    AnsiColor.BLACK,
                    AnsiColor.RED,
                    AnsiColor.GREEN,
                    AnsiColor.YELLOW,
                    AnsiColor.BLUE,
                    AnsiColor.MAGENTA,
                    AnsiColor.CYAN,
                    AnsiColor.WHITE,
                    AnsiColor.BRIGHT_BLACK,
                    AnsiColor.BRIGHT_RED,
                    AnsiColor.BRIGHT_GREEN,
                    AnsiColor.BRIGHT_YELLOW,
                    AnsiColor.BRIGHT_BLUE,
                    AnsiColor.BRIGHT_MAGENTA,
                    AnsiColor.BRIGHT_CYAN,
                    AnsiColor.BRIGHT_WHITE
                };

        chars = new AsciiChar[][]{
                    {new FullBlock()},
                    {new LowerOneEighthBlock(), new LeftOneEighthBlock()},
                    {new LowerOneQuarterBlock(), new LeftOneQuarterBlock()},
                    {new LowerThreeEighthBlock(), new LeftThreeEighthBlock()},
                    {new LowerHalfBlock(), new LeftHalfBlock(),
                        new LowerRightTriangle(), new LowerLeftTriangle(),
                        new UpperLeftTriangle(), new UpperRightTriangle()},
                    {new LowerFiveEighthBlock(), new LeftFiveEighthBlock()},
                    {new LowerThreeQuarterBlock(), new LeftThreeQuarterBlock()},
                    {new LowerSevenEighthBlock(), new LeftSevenEighthBlock()},
                };
    }
}
